package com.littcore.chart.echart.model.data;


/**
 * .
 * 
 * <pre><b>描述：</b>
 *    
 * </pre>
 * 
 * <pre><b>修改记录：</b>
 *    
 * </pre>
 * 
 * @author <a href="mailto:littcai@hotmail.com">蔡源</a>
 * @since 2015年6月25日
 * @version 1.0
 */
public class Data extends BasicData<Data> {
  /**
   * 可以通过valueIndex:0指定为横轴特殊点
   */
  private Integer valueIndex;

  private Object min;
  private Object max;
  /**
   * 图标
   */
  private String icon;
  private Boolean selected;

  /**
   * 平滑曲线弧度，smooth为true时有效，指定平滑曲线弧度
   */
  private Double smoothRadian;

  /**
   * 构造函数
   */
  public Data() {
  }

  /**
   * 构造函数,参数:name
   *
   * @param name
   */
  public Data(String name) {
      super(name);
  }

  /**
   * 构造函数,参数:name,value
   *
   * @param name
   * @param value
   */
  public Data(String name, Object value) {
      super(name, value);
  }

  /**
   * 构造函数,参数:name,symbol,symbolSize
   *
   * @param name
   * @param symbol
   * @param symbolSize
   */
  public Data(String name, Object symbol, Object symbolSize) {
      super(name, symbol, symbolSize);
  }

  /**
   * 构造函数,参数:value,symbol
   *
   * @param value
   * @param symbol
   */
  public Data(Object value, Object symbol) {
      super(value, symbol);
  }

  /**
   * 构造函数,参数:value,symbol,symbolSize
   *
   * @param value
   * @param symbol
   * @param symbolSize
   */
  public Data(Object value, Object symbol, Object symbolSize) {
      super(value, symbol, symbolSize);
  }

  /**
   * 获取平滑曲线弧度
   */
  public Double smoothRadian() {
      return this.smoothRadian;
  }

  /**
   * 设置平滑曲线弧度
   *
   * @param smoothRadian
   */
  public Data smoothRadian(Double smoothRadian) {
      this.smoothRadian = smoothRadian;
      return this;
  }

  /**
   * 获取selected值
   */
  public Boolean selected() {
      return this.selected;
  }

  /**
   * 设置selected值
   *
   * @param selected
   */
  public Data selected(Boolean selected) {
      this.selected = selected;
      return this;
  }

  /**
   * 获取icon值
   */
  public String icon() {
      return this.icon;
  }

  /**
   * 设置icon值
   *
   * @param icon
   */
  public Data icon(String icon) {
      this.icon = icon;
      return this;
  }

  /**
   * 获取min值
   */
  public Object min() {
      return this.min;
  }

  /**
   * 设置min值
   *
   * @param min
   */
  public Data min(Object min) {
      this.min = min;
      return this;
  }

  /**
   * 获取max值
   */
  public Object max() {
      return this.max;
  }

  /**
   * 设置max值
   *
   * @param max
   */
  public Data max(Object max) {
      this.max = max;
      return this;
  }

  /**
   * 获取valueIndex值
   */
  public Integer valueIndex() {
      return this.valueIndex;
  }

  /**
   * 设置valueIndex值
   *
   * @param valueIndex
   */
  public Data valueIndex(Integer valueIndex) {
      this.valueIndex = valueIndex;
      return this;
  }

  /**
   * 获取valueIndex值
   */
  public Integer getValueIndex() {
      return valueIndex;
  }

  /**
   * 设置valueIndex值
   *
   * @param valueIndex
   */
  public Data setValueIndex(Integer valueIndex) {
      this.valueIndex = valueIndex;
      return this;
  }

  /**
   * 获取min值
   */
  public Object getMin() {
      return min;
  }

  /**
   * 设置min值
   *
   * @param min
   */
  public void setMin(Object min) {
      this.min = min;
  }

  /**
   * 获取max值
   */
  public Object getMax() {
      return max;
  }

  /**
   * 设置max值
   *
   * @param max
   */
  public void setMax(Object max) {
      this.max = max;
  }

  /**
   * 获取icon值
   */
  public String getIcon() {
      return icon;
  }

  /**
   * 设置icon值
   *
   * @param icon
   */
  public void setIcon(String icon) {
      this.icon = icon;
  }

  /**
   * 获取selected值
   */
  public Boolean getSelected() {
      return selected;
  }

  /**
   * 设置selected值
   *
   * @param selected
   */
  public void setSelected(Boolean selected) {
      this.selected = selected;
  }

  public Double getSmoothRadian() {
      return smoothRadian;
  }

  public void setSmoothRadian(Double smoothRadian) {
      this.smoothRadian = smoothRadian;
  }

}
